home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
portfoli
/
bootst11.lzh
/
PF BOOTSTRAP VA2%!$-%
next >
Wrap
Text File
|
1991-05-16
|
5KB
|
139 lines
pf-bootstrap v1.1a
------------------
This is a short package that I have put together so that one can do
effective file-transfers between a Sun and an Atari Portfolio palmtop
computer using the serial interface. To create this I have combined
parts of the following packages:
xmodem 3.9 -- from comp.sources.unix, I think
tipx -- patches to extend 4.3BSD tip for 8 bit xfers,
from comp.sys.misc
tip -- from uunet.uu.net:/communications/tip.tar.Z
slip -- Rayan Zachariassen's SunOS 4.0 SLIP package;
I actually just took a single include from this.
pfboot -- the MSDOS Portfolio bootstrapping package
xterm2 -- the newest version I know of
This can probably be considered an alpha version, as I have only tried
it out with the following configuration: Sun SPARCstation SLC, SunOS
4.1. It will probably run on most Suns with SunOS 4.0 and up, and
shouldn't be too tough to get working with other BSD based systems.
There are two phases to communication with the Portfolio:
1) Bootstrapping the PF to get a terminal program on it. If
you have a RAM card drive, or a parallel interface you can
just copy xterm2.com over and forget about the various
other stuff that is otherwise done at this step.
2) Day to day file transfers using xmodem.
---
Attach the Portfolio and Sun using a null modem cable (RECV and XMIT lines
crossed).
---
1) Bootstrapping XTERM2.COM onto the Portfolio.
1a) The first thing to do is to compile tipx. This is necessary
because the SunOS tip (for ~> file transfers) doesn't support 8
bit file transfers, and IBM binaries, of course, can have any bit
characters in it. Tipx supports the 8 bit characters, and as such
is useful for the bootstrapping process.
A typical c-shell set of commands for the install...
% cd tipx-p1
% vi Makefile # edit the makefile
% make
% cp tip ~/bin/tipx # put the tipx binary in your path
% rehash # let the shell know about it
Go read the (short) section about Transparent Pass-Through in the
README.TIPX file.
1b) Next step: get a terminal going on the Portfolio. First, in the
Portfolio RS232 setup menu, set the baud rate to 110: we will be
working with the builtin DOS serial driver, which is almost
guaranteed to mess up if you push it at all. Other settings: 8 bits,
no parity, 1 stop bit. (Hint- 110 baud is off the bottom of the menu;
you have to use the cursor keys to scroll down to it).
Be sure to select Initialize before leaving the program.
On the sun:
% cd pf-cmds
% setenv REMOTE `PWD`/../remote # use this instead of /etc/remote
% tipx pf-boot # set for 110 baud
Then go into tipx's Transparent Pass Through mode, and send a
couple of files:
~R
~~~>hexbin.com
At this point, move over to the PF and type:
copy aux: hexbin.com
After this finishes, you might compare the lengths of the two
hexbin.com files to be sure that they are the same. Then move on
and send xterm2.hex:
(SUN): ~~~>xterm2.hex
(PF): copy aux: xterm2.hex
After this happens, you will want to decode xterm2:
(PF): binhex xterm2.hex
ren result.out xterm2.com
After testing out xterm2 to make sure that it works, you can
delete binhex.com and xterm2.hex.
1c) Time to set up an xmodem client on the sun. I tried using the
xmodem clients that were originally included with tipx, however
the send client crashed whenever I tried to use it, so I tossed
them out and went with xmodem3.9 which was posted on
comp.sources.misc a while back.
% cd xmodem-3.9
% vi Makefile # Make any appropriate changes
% make
% cp xmodem ~/bin ; rehash # put it where it will be found
1d) Change the Portfolio's baud rate to 9600 baud and Initialize the
RS232 port.
2) You can now communicate between the PF and the Sun! To send a file
from the Sun to the PF:
(PF): xterm
(SUN): tip pf # use /bin/tip, not tipx, and call @ 9600 baud
(PF): <F2> file.nam
(SUN): ~C xmodem sbp file.nam
Let me know how things work out!
-Dan Mosedale
dmose@bright.math.uoregon.edu
Notes:
-If you problems, you may find it useful to copy chksum.com to the pf
as the first thing you do. Things should chksum as follows:
chksum.com: 309A
hexbin.com: 4080
xterm2.hex: EBCB
xterm2.com: 9A0D
-The only thing I've taken from the Sun slip implementation is an include
files, as tipx requires it to compile. In order for the compile to work,
however, I had to modify the file a bit, so this version of tipx will
almost certainly not work over slip.
HISTORY:
v1.0 - initial release
v1.1 - a bit of info added to the README file.